#ifndef DEPTHPEELING_HPP
#define DEPTHPEELING_HPP
//  This file isn't currently being used.  Depth peeling can allow better views
//  of transparent meshes

// DepthPeeling dp;
// dp.resize();
// dp.Init()
// dp.Begin();
// while (dp.NextLayer())
//    DrawScene();
// dp.End();
class DepthPeeling
{
   public:
      DepthPeeling();
      void resize(int w, int h);
      void Init();
      void Enable();
      void Disable();

      void Begin();
      bool NextLayer();
      void End();
      bool mInitialized;
      
      int mPasses;
      int mW, mH;
      float mOpacity;
   private:
      int mPass;

      void EndLayer();
      
};
#endif